package com.jihu.design.creatation.factory.factorymethod;

/**
 * @author jihu
 * @date 2021/9/15
 */
public class RacingCar extends AbstractCar {

    public RacingCar(){
        this.engine = "v8发动机";
    }

    @Override
    public void run() {
        System.out.println(engine+"--》嗖......");
    }
}
